package cn.gailvlun.gll.mgr;

import java.util.List;

import cn.gailvlun.gll.util.ProfileUtil;



public class PermissionMgr {

    public static boolean isEnableAddRoom() {
        List<String> permissions = ProfileUtil.getProfile().getUser_permissions();
        if (permissions.contains("owcp.add_room")) {
            return true;
        }
        return false;
    }

}
